package com.example.controller;

import com.example.controller.impl.UserControllerApi;
import org.springframework.web.bind.annotation.*;

/**
 * @Author Lcyee
 * @Blog https://www.codeyee.com
 * @Date 2020/6/13
 * @Description
 */
@RestController
@RequestMapping("/user")
public class UserController implements UserControllerApi {

    @GetMapping("/info/{userId}")
    @Override
    public String getUserInfo(@PathVariable("userId") String userId) {
        return userId +" info is null";
    }
}
